﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.Serialization;

namespace Amazon.Route53.DataContracts
{
    [DataContract(Name = "Change",Namespace = Constants.Namespace)]
    public class ResourceRecordSetChange
    {
        /// <summary>
        /// The action to perform
        /// </summary>
        [DataMember(Order = 1)]
        public ChangeAction Action { get; set; }

        /// <summary>
        /// Information about the resource record set to create or delete.
        /// </summary>
        [DataMember(Order=2)]
        public ResourceRecordSet ResourceRecordSet { get; set; }
    }
}
